﻿using Restaurant.Model;
using System;
using System.Threading.Tasks;

namespace Restaurant.Dao
{
    /// <summary>
    /// 桌子Dao
    /// </summary>
    public class TableDao : BaseServiceDao<CompanyTable>
    {

        public override Task<CompanyTable> SaveAsync(CompanyTable model)
        {
            model.TableId = Guid.NewGuid();
            return base.SaveAsync(model);
        }
    }
}
